<?php
header('Content-Type:text/html; Charset=UTF-8');
require 'lib/checker.php';
require 'lib/header.php';
?>
		<div class="container">
			<div class="row">
				<div class="col-xs-2">
                     <a href="boardList.php" class="btn btn-default btn-block">餐桌列表</a>
                     <a href="main.php" class="btn btn-default btn-block">返回首页</a>
                </div>
                <div class="col-xs-5">
                	<div class="panel panel-primary">
                		<div class="panel-heading">
                             <div class="panel-title">
                                 <span class="glyphicon glyphicon-plus"></span> 添加餐桌<span class="col-md-offset-8"></span>
                             </div>
                        </div>
                		<form action="insertTable.php" method="post">
	                        <div class="panel-body">
		                       <div class="form-horizontal">
									<div class="form-group">
	                                    <label class="col-xs-4 control-label">餐桌号：</label>
	                                    <div class="col-xs-7">
	                                         <input class="form-control" name="name" placeholder="餐桌号" />
	                                    </div>
	                                </div>
							   </div>
		                    </div>
		                    <div class="panel-footer">
						      	<button type="submit" class="btn btn-primary btn-lg btn-block">添加此餐桌</button>
						    </div>
					    </form>
                	</div>
                </div>
			</div>
		</div>
   </body>
</html>